package com.woniuxy.credit_loans.staff_dong.service;

import com.woniuxy.credit_loans.staff_dong.dto.PerDto;
import com.woniuxy.credit_loans.staff_dong.vo.PermissionVo;
import com.woniuxy.credit_loans.staff_dong.vo.TreeNode;

import java.util.List;

public interface PermissionService {

    List<PermissionVo> selMenuByAcc(String empAcc, Integer parentId);

    List<TreeNode> selectAllPer(Integer parentId);

    List<Integer> selectPerByRoleId(Integer roleId);

    int deleteByRoleId(Integer RoleId);

    int insertPer(PerDto perDto);
}
